package com_djm_2025_05_10;

/**
 * @author dengjiangming
 * @version 1.0.0
 * @date 2025-05-10
 */
public class BooleanDemo1 {
         /*
         1. boolean类型的变量只有两种取值,true表⽰真,false表⽰假.
         2. Java的boolean类型和int不能相互转换,不存在1表⽰true,0表⽰false这样的⽤法.
          */
    public static void main(String[] args) {

        boolean b = true;
        System.out.println(b);

        b = false;
        System.out.println(b);
    }
}
